﻿<phone:PhoneApplicationPage 
    x:Class="OnlineVideos.QuizResult"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="800" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded" BackKeyPress="PhoneApplicationPage_BackKeyPress">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Orientation="Horizontal" Margin="0,10,0,0" Grid.Row="0">
            <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseLeftButtonDown="imgTitle_MouseLeftButtonDown" />
            <TextBlock x:Name="tblkVideosTitle" Style="{StaticResource DetailPagePivotTitle}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="0,0,0,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="72"/>
                <RowDefinition Height="90"/>
                <RowDefinition Height="90"/>
                <RowDefinition Height="90" />
                <RowDefinition Height="100" />
                <RowDefinition Height="100" />
                <RowDefinition Height="135"/>
                <RowDefinition Height="80"/>
            </Grid.RowDefinitions>
            
            <TextBlock x:Name="PageTitle"  Grid.Row="0" FontSize="40" HorizontalAlignment="Left" Height="60" Margin="15,10,0,0" Style="{StaticResource PhoneTextTitle1Style}"  Foreground="White"/>

            <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="10,0,0,0">
                <TextBlock x:Name="txtcorrection" Text="Result              :" VerticalAlignment="Top" FontSize="35" Margin="0,20,0,0" Foreground="White"/>
                <TextBlock x:Name="txtmarks" Text="" VerticalAlignment="Top" Margin="20,20,0,0" FontSize="35" Foreground="White"/>
                <TextBlock x:Name="txtslash" Text="/" VerticalAlignment="Top" Margin="20,20,0,0" FontSize="35" Foreground="White"/>
                <TextBlock x:Name="txttotalmarks" Text="" VerticalAlignment="Top" Margin="10,20,0,0" FontSize="35" Foreground="White"/>
            </StackPanel>
            
            <StackPanel Orientation="Horizontal" Grid.Row="2" Margin="10,0,0,0">
                <TextBlock x:Name="txtpercentage" Text="Percentage      :" VerticalAlignment="Top" FontSize="35" Margin="0,20,0,0" Foreground="White"/>
                <TextBlock x:Name="txtpshow"  VerticalAlignment="Top" FontSize="35" Margin="20,25,0,0" Foreground="White"/>
                <TextBlock x:Name="txtps" Text="%" FontSize="35" Margin="20,25,0,0"  Foreground="White"></TextBlock>

            </StackPanel>
            <StackPanel Orientation="Horizontal" Grid.Row="3" Margin="10,0,0,0">
                <TextBlock x:Name="txtgrade" Text="Grade              :" FontSize="35" Margin="0,20,0,0" Foreground="White"/>
                <TextBlock x:Name="txtgradedisplay"  FontSize="35" Margin="20,20,0,0"  Foreground="White"/>
            </StackPanel>
            
            <StackPanel Orientation="Horizontal" Grid.Row="4" Margin="10,0,0,0">
                <TextBlock Text="Duration          :" FontSize="35" Margin="0,20,0,0" Foreground="White"></TextBlock>
                <TextBlock x:Name="txttime" FontSize="35" Margin="20,30,0,0" Foreground="White"></TextBlock>
            </StackPanel>
            
            <StackPanel Orientation="Horizontal" Grid.Row="5" Margin="10,0,0,0">
                <TextBlock x:Name="txtslash1" Text="Total duration : " Margin="5,25,0,0" FontSize="35" Foreground="White"/>
                <TextBlock x:Name="txttotaltime" Text="" Margin="5,30,0,0" FontSize="35" Foreground="White"/>
            </StackPanel>
            
            <Image Source="/Images/Review-Answers.png"  Grid.Row="6" Height="70" Name="imgreview" Margin="10,0,0,0" Width="250"  MouseLeftButtonDown="imgreview_MouseLeftButtonDown"></Image>
            <Image Source="/Images/Exits.png"  Grid.Row="6" Height="70" Name="imgexit" Margin="10,0,0,0" Width="250"  MouseLeftButtonDown="imgexit_MouseLeftButtonDown" Visibility="Collapsed"></Image>

            <StackPanel Name="adstackpl" Grid.Row="7" Orientation="Vertical">
            </StackPanel>

        </Grid>
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>